package com.guhus.ec.pojo.seller;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *   `id` BIGINT NOT NULL AUTO_INCREMENT,
 *   `name` VARCHAR(100) NOT NULL,
 *   `desc` VARCHAR(500) NOT NULL,
 *   `url` VARCHAR(100) NOT NULL,
 *   `pic_url` VARCHAR(100) NULL,
 *   `content` VARCHAR(500) NULL,
 *   `pid` BIGINT NOT NULL,
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Cate2 {
    private Integer id;
    private String name;
    private String desc;
    private String url;
    private String picUrl;
    private String content;
    private Cate1 pCate;

    public Cate2(Integer id, String name, String desc, String url) {
        this.id = id;
        this.name = name;
        this.desc = desc;
        this.url = url;
    }
}
